home *** CD-ROM | disk | FTP | other *** search
- .TH CLNTREAD
- 6 "IRIT Version 6.0"
- .SH NAME
- CLNTREAD
-
-
-
- AnyType CLNTREAD( NumericType Handler, NumericType Block )
-
- Reads one object from a communication channel of a client.
- Handler contains the index of the communication channel opened via
- CLNTEXEC. If no data is available in the communication channel, this
- function will block for at most Block millisecond until data is found
- or timeout occurs. In the latter, a single StringType object is returned
- with the content of "no data (timeout)". See also CLNTWRITE, CLNTCLOSE,
- and CLNTEXEC.
-
- Example:
-
- h2 = clntexec( "xmtdrvs -s-" );
- .
- .
-
- Model = CLNTREAD( h2 );
- .
- .
-
- clntclose( h2,TRUE );
-
- reads one object from client through communication channel h2 and save it
- in variable Model.
-